﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartPlant.Model.DbContext
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("COMPONENT_MFR")]
    public class ComponentMfr
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MFR_ID", IsPrimaryKey = true)]
        public decimal CmpntMfrId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MFR_NAME")]
        public string CmpntMfrName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_MFR_DESC")]
        public string CmpntMfrDesc { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROJ_ID")]
        public decimal ProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SITE_ID")]
        public decimal SiteId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PLANT_ID")]
        public decimal PlantId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AREA_ID")]
        public decimal AreaId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UNIT_ID")]
        public decimal UnitId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_NUM")]
        public decimal ChgNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "USER_NAME")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_STATUS")]
        public string ChgStatus { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_DATE")]
        public DateTime? ChgDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "IP_ADRESS")]
        public string IpAdress { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "MFR_COMPANY_IDENTIFICATION")]
        public string MfrCompanyIdentification { get; set; }
    }
}
